﻿using FPSO.Models.Constant;
using FPSO.Models.Domain;
using FPSO.Models.TagMapping;
using Microsoft.Practices.Prism.ViewModel;
using NSubstitute.Core;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows.Controls;
using System.Windows.Interactivity;

namespace FPSO.Models.ViewModel.Controls
{

    public class TaskShipDataViewModel : NotificationObject
    {
        public TaskShipDataViewModel(List<ShipCalcState> impShipCalcStates)
        {
			shipCalcStates = impShipCalcStates;
        }

        public List<ShipCalcState> shipCalcStates { get; private set; }

        /// <summary>
        /// 状态数据
        /// </summary>
        public List<ShipCalcState> ShipCalcStates
        {
            get { return shipCalcStates; }
            set
            {
                shipCalcStates = value;
                RaisePropertyChanged("ShipCalcStates");
            }
        }
    }
	public class TaskTanksDataViewModel : NotificationObject
	{
		public TaskTanksDataViewModel(List<ManualCalcResult> impManCalcStates)
		{
			tanksCalcStates = impManCalcStates;
		}

		public List<ManualCalcResult> tanksCalcStates { get; private set; }

		public List<ManualCalcResult> TanksCalcStates
		{
			get 
			{ 
				return tanksCalcStates;
			}
			set
			{
				tanksCalcStates = value;
				RaisePropertyChanged("TanksCalcStates");
			}
		}
	}
}